package com.smart.village.big.screen.mapper;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.smart.village.big.screen.domain.BluePlateInformation;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;
import java.util.List;

@Mapper
public interface ChangeAgricultureMapper {
    List<JSONObject> getIndustrialStructureStatics(String year, String townNumber, String villageNumber);

    List<JSONObject> getImportantAgricultureProjectList(String year, String townNumber, String villageNumber);

    int getSubsidyInformationPolicyCnt(String year);

    int getSubsidyInformationPolicyArea(String year, String townNumber, String villageNumber);

    int getSubsidyInformationMainBodyCnt(String year, String townNumber, String villageNumber);

    List<JSONObject> getSubsidyInformationBottomChartData(String year, String townNumber, String villageNumber);

    List<JSONObject> getDeviceCoords(String monitoringEquipmentSerialNumber, String townNumber, String villageNumber);

    List<JSONObject> getThreeResourceInformationList(String type,String townNumber, String villageNumber);

    List<JSONObject> getNaturalResourcesPolicy(String townNumber, String villageNumber);

    List<BluePlateInformation> getAgriculturalMachineryPolicy(String townNumber, String villageNumber);

    List<JSONObject> getPolicyType1InfoByCategoryAndLandSerialNumber(String policyTypeSerialNumber, String naturalResourceSerialNumber);

    List<JSONObject> getPolicyType2InfoByCategoryAndLandSerialNumber(String policyTypeSerialNumber, String bluePlateSerialNumber);


    List<JSONObject> getCropInfoByCategoryAndLandSerialNumber(String cropCategorySerialNumber, String naturalResourceSerialNumber);

    List<JSONObject> getCropCategoryCoords(String cropCategorySerialNumber, String townNumber, String villageNumber);

    List<JSONObject> getNaturalResourcesCoords(String townNumber, String villageNumber, String naturalResourceUsageSerialNumber, String naturalResourceTypeSerialNumber, String naturalResourceTagSerialNumber);

    List<JSONObject> getBeiJiMonitorDeviceList(String townNumber, String villageNumber, String monitoringEquipmentSerialNumber, String naturalResourceTagSerialNumber);

    List<JSONObject> getBeiJiHaveAFiledCanBeClaimedNatureResource(String townNumber, String villageNumber, String naturalResourceUsageSerialNumber, String naturalResourceTypeSerialNumber,String naturalResourceTagSerialNumber,String ifContract);

    List<JSONObject> getBeiJiHaveAFiledPlannerNatureResource(String townNumber, String villageNumber, String naturalResourceUsageSerialNumber, String naturalResourceTypeSerialNumber,String naturalResourceTagSerialNumber);

    List<JSONObject> getPlannerHouseBluePlateInformation(String idNumber);

    List<JSONObject> getBeiJiHaveAFiledList(String townNumber, String villageNumber, String tagSerialNumber);

    JSONObject getBeiJiHaveAFiledDetail(String naturalResourceSerialNumber);

    JSONObject getLandExpertBySerialNumber(String landExpertSerialNumber);

    List<JSONObject> getCropAreaDistributionData(String townNumber, String villageNumber, String year);

    List<JSONObject> getCropTypeDistributionData(String townNumber, String villageNumber);

    List<JSONObject> getHaveAFiledCoords(String townNumber, String villageNumber, String naturalResourceUsageSerialNumber, String naturalResourceTypeSerialNumber, String naturalResourceTagSerialNumber, String cropCategorySerialNumber);

    List<JSONObject> getCropCategory();

    List<JSONObject> getMonitorDeviceRealTimeList(String natureResourceSerialNumber);

    int getSubsidyMachineryInformationPolicyCnt(String year);

    int getSubsidyMachineryInformationMainBodyCnt(String year, String townNumber, String villageNumber);

    List<JSONObject> getSubsidyMachineryInformationBottomChartData(String year, String townNumber, String villageNumber);
}
